import request from '@/utils/request'

// 查询后台用户新信息列表
export function listSysuservo(query) {
  return request({
    url: '/project/sysuservo/list',
    method: 'get',
    params: query
  })
}

// 查询后台用户新信息详细
export function getSysuservo(userId) {
  return request({
    url: '/project/sysuservo/' + userId,
    method: 'get'
  })
}

// 新增后台用户新信息
export function addSysuservo(data) {
  return request({
    url: '/project/sysuservo',
    method: 'post',
    data: data
  })
}

// 修改后台用户新信息
export function updateSysuservo(data) {
  return request({
    url: '/project/sysuservo',
    method: 'put',
    data: data
  })
}

// 删除后台用户新信息
export function delSysuservo(userId) {
  return request({
    url: '/project/sysuservo/' + userId,
    method: 'delete'
  })
}
